//Pietras93OS
//Main kernel & shell 
//pietras93@gmail.com
//

#include <system.h>

void main() __asm__("_main");
void main()
{
	init_mm();
	puts("\n");
	init_video();
	puts("\n");
	timer_install();
	puts("\n");
	keyboard_install();
	puts("\n");
	init_tasks();
	gdt_install();
	idt_install();
	isrs_install();
	irq_install();
	__asm__ __volatile__ ("sti");
	puts("All done!");
	puts("Hello World from p93OS!\n");
	cls();
	shell();

	for (;;);
}
